package ScreensManager.ProjectScreens
{
	import flash.ui.Keyboard;
	import flash.events.KeyboardEvent;
	import Objects.Hero;
	import ScreensManager.Screen;
	import ScreensManager.ScreenManager;
	/**
	 * ...
	 * @author ...
	 */
	public class GameScreen extends Screen
	{
		/*Variaveis da classe
		 * 
		 */
		private var hero:Hero;
		
		public function GameScreen() 
		{
			/*
			 * Instanciacao de variaveis
			 */
			hero = new Hero();
		}
		
		override public function update():void 
		{
			hero.update();
		}
		
		override public function drawScreen():void 
		{
			super.drawScreen();
			
			// Adiciono o heroi NESTA tela
			this.addChild(hero);
		}
		
		
	}
}